package com.atguigu.eduservice.entity.subject;

import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author tianxinyu
 * @create 2020-10-19 14:46
 */
//一级分类

@ToString
@Data
public class OneSubject {
    private String id;
    private String title;

    private  List<TwoSubject> children = new ArrayList<TwoSubject>();
}
